/* 头部 */
.header{
    background-color: transparent;
    position: sticky;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1em 0em;

    .navbar-inverse{
        background-color: transparent;
        border-color: transparent;

        .navbar-nav>li>a{
            color: #fff;
        }
    }

    .logo{
        text-transform: uppercase;
        color: #fff;
        transition: all linear .2s;
    
        &:hover{
            transform: scale(1.2);
        }
    }

    .menu{
        a{
            text-transform: uppercase;
            color: #fff;
            font-size: 10px;
            transition: all linear 0.2s;
            border-bottom: 3px solid transparent;
    
            span{
                display: inline-block;
                transition: all linear .2s;
            }
    
            &:hover{
                border-bottom:3px solid #fcac45;
    
                span{
                    transform: scale(1.2);
                }
            }
    
        }
    
    }

    @media screen and (max-width:768px){
        .menu{
            
            a{
                text-align: center;
            }
        }
        
    }

}


// footer
.footer{
    background-color: #070707;
    padding: 1em 0;
    .box{
        display: flex;
        justify-content: space-between;
        align-items: center;
        align-content: center;
        .copyright{
            text-transform: uppercase;
            font-size: 0.7em;
            color: #7c7c7c;
        }
        .links{
            display: flex;
            width: 25%;
            justify-content: space-around;
            a{
                width: 2.5em;
                height: 2.5em;
                border: 3px solid #7c7c7c;
                border-radius: 100%;
                text-align: center;
                line-height: 1.9em;
                overflow: hidden;
                flex-shrink: 0;
                transition: all linear 0.2s;
                &:hover{
                    transform: translateY(-6px);
                    box-shadow: 0px 0px 5px 1px #b1aeae;
                }

                img{
                    width: 100%;
                    height: 100%;
                }
            }
        }
    }

    @media screen and (max-width:530px) {
        .box{
            flex-wrap: wrap;

            .copyright{
                margin-bottom: 1em;
                width: 100%;
            }
            .links{
                width: 100%;
                justify-content:flex-end;
                
                a{
                    width: 1.5em;
                    height: 1.5em;
                    line-height: 1em;
                    border-width: 2px;
                    margin-right: 5px;
                }
            }
        }

       
    }
}

// 返回顶部
    #gotop{
        position: fixed;
        top:35em;
        right: 2em;
        border: 3px solid #fcac45;
        border-radius: 100%;
        width: 3em;
        height: 3em;
        text-align: center;
        line-height: 2.8em;
        cursor: pointer;
        color: #fcac45;
        transition: all linear 0.5s;

        &:hover{
            background-color: #fcac45;
            color: #fff;
            animation: totop 1s;
        }
        
        @keyframes totop {
            from {
                transform: scale3d(1, 1, 1) ;
              }
            
              30% {
                transform: scale3d(1.25, 0.75, 1);
              }
            
              40% {
                transform: scale3d(0.75, 1.25, 1);
              }
            
              50% {
                transform: scale3d(1.15, 0.85, 1);
              }
            
              65% {
                transform: scale3d(.95, 1.05, 1);
              }
            
              75% {
                transform: scale3d(1.05, .95, 1);
              }
            
              to {
                transform:scale3d(1, 1, 1);
              }
        }
    }


